//
//  WSDataReportHelper.h
//  microvision
//
//  Created by zhenjingxiong on 2021/3/11.
//  Copyright © 2021 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface WSDataReportHelper : NSObject

+ (NSString *)jsonStringForDictionary:(NSDictionary *)dictionary;

+ (NSString *)jsonStringForArray:(NSArray *)array;

+ (NSString *)jsonStringPrettyPrintedFormatForDictionary:(NSDictionary *)dictionary;

+ (NSMutableArray*)calculateSubStringCount:(NSString *)content str:(NSString *)tab;

+ (BOOL)isBlankString:(NSString *)string;

+ (BOOL)isContainsResultObject:(NSArray<NSString *> *)array withResultObject:(NSString *)resultObject;

+ (BOOL)isEmptyForObject:(NSObject *)object;

+ (BOOL)nonContainerClassObject:(NSObject *)object;

+ (BOOL)isContainerClassObject:(NSObject *)object;

+ (NSString *)jsonStringForContainerClassObject:(NSObject *)object;

+ (NSString *)stringValueForNonContainerClassObject:(NSObject *)object;

+ (NSLayoutConstraint *)equallyRelatedConstraintWithView:(UIView *)sourceView
                                                  toItem:(UIView *)targetView
                                               attribute:(NSLayoutAttribute)attribute;


@end

NS_ASSUME_NONNULL_END
